package cn.tedu.carehome.foundation.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class BedUpdateDTO {

    @NotNull(message = "id必须提交")
    private Long id;
    /**
     * 床位号
     */
    @NotNull(message = "床位号必须提交")
    private String bednum;
    /**
     * 楼层号
     */
    @NotNull(message = "楼层号必须提交")
   private Integer floor;
    /**
     * 房间号
     */
    @NotNull(message = "房间号必须提交")
    private Integer   roomnum;
    /**
     * 床位价格
     */
    @NotNull(message = "床位价格必须提交")
   private Double price;

    @NotNull(message = "登记id必须提交")
   private Long checkId;
}
